Skip to content

feat(404): add 404 page with i18n support#9

Merged
midudev merged 1 commit into
midudev:mainfrom
ramistodev:feature/add-404-page
May 17, 2026
Merged

feat(404): add 404 page with i18n support#9
midudev merged 1 commit into
midudev:mainfrom
ramistodev:feature/add-404-page

Conversation

@ramistodev
Copy link
Copy Markdown
Contributor

This pull request adds a localized custom 404 error page and improves translation consistency in the codebase. The main changes include implementing a new 404.astro page with i18n support, introducing new translation keys for the 404 page in both English and Spanish, and standardizing translation object keys for better maintainability.

404 Page Implementation:

  • Added a new src/pages/404.astro component to render a user-friendly, localized 404 error page. The page displays translated titles, descriptions, and a "Back to home" button based on the user's locale.

Internationalization Enhancements:

  • Introduced new translation keys (notFoundTitle, notFoundDescription, backToHome) for both English and Spanish in src/i18n/translations.ts to support the 404 page. [1] [2] [3]
  • Standardized translation object keys by removing unnecessary quotes around keys (e.g., 'recursion'recursion) for improved code consistency and maintainability in both English and Spanish translations. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

Minor Code Improvements:

  • Reformatted the getAlgorithmMetaTitle function signature for readability in src/i18n/translations.ts.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 14, 2026

@ramistodev is attempting to deploy a commit to the midudev pro Team on Vercel.

A member of the Team first needs to authorize it.

@midudev midudev merged commit b6ec089 into midudev:main May 17, 2026
1 of 2 checks passed
@ramistodev ramistodev deleted the feature/add-404-page branch May 20, 2026 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants